package com.wy.Service;

import com.wy.pojo.Postion;
import com.wy.vo.PageVo;
import com.wy.vo.PostionDto;

import java.util.List;

public interface PostionService {
    public List<Postion> findAll();

    public void add(Postion postion);

    public void delete(Integer id);

    public List<Postion> findBId(Integer id);

    //分页
    public PageVo searchPage(Integer current, Integer pageSize, PostionDto dto);

    public void update(Postion postion);
}
